<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/User/UserField.js?dt={$dtFlag}" type="text/javascript"></script>


<script src="{$uri}Public/Scripts/PSI/Funds/PayMainForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Funds/PaymentEditForm.js?dt={$dtFlag}" type="text/javascript"></script>

<!-- 查询条件 -->
<script src="{$uri}Public/Scripts/PSI/Customer/CustomerField.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Supplier/SupplierField.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Factory/FactoryField.js?dt={$dtFlag}" type="text/javascript"></script>

<script>
  Ext.onReady(function () {
    PSI.Const.PROD_NAME = "{$productionName}";

    var app = Ext.create("PSI.App", {
      userName: "{$loginUserName}",
      productionName: "{$productionName}"
    });

    app.add(Ext.create("PSI.Funds.PayMainForm"));
    app.setAppHeader({
      title: "{$title}",
      iconCls: "PSI-fid2005"
    });
  });
</script>
